def common_assert(res,status_code,success,code,message):
    assert status_code == res.status_code
    assert success is res.json().get("success")
    assert code == res.json().get("code")
    assert message in res.json().get("message")
def reg_assert(res,status_code,status,msg):
    assert status_code == res.status_code
    assert status == res.json().get("status")
    assert  msg in res.json().get("msg")